Skip to content

fix: enforce slack message guardrails - #29

Open
coolton-agent wants to merge 1 commit into
techwithanirudh:mainfrom
coolton-agent:fix/slack-message-guardrails
Open

fix: enforce slack message guardrails#29
coolton-agent wants to merge 1 commit into
techwithanirudh:mainfrom
coolton-agent:fix/slack-message-guardrails

Conversation

@coolton-agent

Copy link
Copy Markdown

what

implement the requested Slack message guardrails before normal response processing.

fix

  • ignore raw messages beginning with ##, and exclude them from fetched thread context
  • ignore <> prefixes unless the bot is directly mentioned
  • ignore user-group-only mentions unless the bot user id is also mentioned
  • persist a thread stop latch for configured-name !stop commands and ignore later messages

verification

  • NODE_OPTIONS=--max-old-space-size=2048 ./node_modules/.bin/tsc --noEmit
  • ./node_modules/.bin/biome check --write ...
  • no test pipeline exists in the repository, so no tests were added

reminder: add the bot to the Slack canvas named RFC i - Guidelines for AI agents in slack.

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: d863804e-7e35-480c-92d6-b172d7c60401


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant